<?php
use yii\helpers\Url;
?>

<style type="text/css">
   .tab{

   }
   .tab tr td{
       height:30px;
       line-height: 30px;
   }
</style>


<div>
    <br/>
    <table border="1" style="border-collapse:collapse" width="60%" class="tab">
        <tr>
            <th>产品ID</th>
            <th>产品号</th>
            <th>产品名</th>
            <th>授权数</th>
            <th>所在套餐</th>
        </tr>
        <?php
        foreach($apps as $app){?>
        <tr>
        <td><?php echo $app['ApplicationId'] ?></td>
        <td><?php echo $app['UniqueName'] ?></td>
        <td><?php echo $app['FriendlyName'] ?></td>
        <td><?php echo $app['total_num'] ?></td>
        <td>
            <?php echo isset($app['package']) ? $app['package']['friendly_name'] : '' ?>
        </td>
        </tr>
        <?php
        }
        ?>
    </table>

</div>